package com.le.tester.imooc.masterJUC.collections.predecessor;

import java.util.Vector;

/**
 * 描述：predecessor(之前的)中的Vector(线程安全的ArrayList)
 */
public class VectorDemo {
    public static void main(String[] args) {
        Vector<String> vector = new Vector<>();
        vector.add("test");
        System.out.println(vector.get(0));
    }
}
